#!/usr/bin/env bash


#### 1.1 合同关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":201,"attr":"array_4","afterAttr":"text_3","fieldAttr":"required","operate":2}'

#### 1.2 采购合同关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1101,"attr":"array_3","afterAttr":"text_3","fieldAttr":"required","operate":2}'

#### 1.3 退货退款关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":202,"attr":"array_1","afterAttr":"text_10","fieldAttr":"required","operate":2}'

#### 1.4 采购退货关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1201,"attr":"array_1","afterAttr":"text_10","fieldAttr":"required","operate":2}'

#### 1.5 调拨单关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1601,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 1.6 生产单关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":2801,"attr":"array_4","afterAttr":"text_8","fieldAttr":"required","operate":2}'

#### 1.7 工单关联产品新增出入库数量等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":2301,"attr":"array_1","afterAttr":"text_8","fieldAttr":"required","operate":2}'

#### 1.8 销售退货入库关联产品新增等
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1405,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 1.9 盘点单新增字段
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/initAddAllProduct -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.1合同退货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixContractInStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.2生产单出库数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixProductionOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.3刷合同出货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixContractOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.4刷退货退款入货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixRefundInStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.5刷采购退货单出货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixReturnPurchaseOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.6刷数据采购合同入库数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixPurchaseInStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.7刷采购合同退货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixPurchaseOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.8刷工单出货数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixWorkOrderOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.9刷调拨单领料数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixTransferOutStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 2.10刷调拨单入料数量
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixTransferInStockNum -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'



#### 3.1合同状态
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fiXContractShipStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 3.2采购状态
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixPurchaseReceieveStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 3.3退货状态
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixRefundStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 3.4采购退货状态
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixReturnedPurchaseStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 3.5刷调拨转台
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixTransferStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'

#### 3.6刷盘点单状态
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixInventoryStatus -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'


#### 4.1刷数据销售退货入库单价
curl http://pt2jobs.xbongbong.com.cn/pro/v1/script/field/improve/fixRefundInstockPrice -X POST -H 'Content-type: application/json' -d '{"corpid":"1","corpidList":[],"userId":"1","platform":"web","frontDev":"1","page":1,"pageSize":8,"saasMark":1,"xbbCode":123456,"businessType":1701,"attr":"array_1","afterAttr":"num_3","fieldAttr":"required","operate":2}'
